package com.magicstone.common.Licence.service;

import java.util.TimerTask;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.stereotype.Service;

import com.magicstone.common.Licence.domain.SysInfo;

public class LicenceGuard extends TimerTask{
 	private final static Log logger = LogFactory.getLog(LicenceGuard.class);
	@Override
	public void run() {
		Licenser l = Licenser.getInstance();
		SysInfo si = l.check();
		l.beat(si);
	}
}

